<template>
  <div>
    <h3>id：{{$route.params.id}}</h3>
    <h3>title: {{$route.params.title}}</h3>
    <h3>props里取得id：{{id}}</h3>
    <h3>props里取得title: {{title}}</h3>
    <h3>props里取得queryid：{{queryid}}</h3>
    <h3>props里取得title2: {{title2}}</h3>
  </div>
</template>

<script>
export default {
  name: 'NewsDetail',
  props: ['id', 'title', 'queryid', 'title2']
}
</script>

<style>

</style>